home *** CD-ROM | disk | FTP | other *** search
- on buttonClick
- repeat while the mouseDown
- if rollover(the clickOn) then
- if the visible of sprite 3 = 0 then
- set the visible of sprite 3 to 1
- updateStage()
- end if
- next repeat
- end if
- if the visible of sprite 3 = 1 then
- set the visible of sprite 3 to 0
- updateStage()
- end if
- end repeat
- if rollover(the clickOn) then
- return 1
- else
- return 0
- end if
- end
-
- on syncIt theTicks
- startTimer()
- repeat while the timer < theTicks
- nothing()
- end repeat
- end
-